package com.osfw.dbadminer.service.database;


import com.osfw.dbadminer.domain.database.HintSqlParam;
import com.osfw.dbadminer.domain.database.TableDef;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

/**
 * 数据库操作 服务层处理
 */
public interface IDbaDataTableService {

    Map<String, Object> getAllHintData(HintSqlParam hintSqlParam);

    List<TableDef> getAllTables(Long connectId, String database);

    Map<String, List<String>> getStructure(Long connectId, String database, String tableName) throws SQLException;

}
